package com.example.demo.service;

import com.example.demo.modal.Physical;

import java.util.List;

public interface PhysicalService {
    List<Physical> findAll();

    int save(Physical physical);

    int deleteById(int id);

    int update(Physical physical);

    List<Physical> findById(int id);

    List<Physical> findByName(String name);

    List<Physical> findByPId(int pid);

    int selectMaxId();
}
